package com.zcb.qingshoudan.activity;

import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.zcb.qingshoudan.R;

public class MerchantsMsgActivity extends Activity implements View.OnClickListener{
    private LinearLayout titleLinearLayout;
    private TextView titleTV;
    private View g;
    private LinearLayout h;
    private LinearLayout i;
    private TextView j;
    private TextView k;
    private TextView l;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_merchants_msg);
        titleLinearLayout= (LinearLayout) findViewById(R.id.title_lin_back);
        titleTV= (TextView) findViewById(R.id.title_text);
        titleLinearLayout.setVisibility(View.VISIBLE);
        titleLinearLayout.setOnClickListener(this);
        titleTV.setText("商户信息");
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.title_lin_back:
                finish();
                break;
        }
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
        finish();
    }
}
